var page_root = {
	title: "ROOT",
	sections: {
		core: {
			title: "ROOT", 
			components: [{
				type: "form", 
				contents: [
					{
						schema: {
							priceUnit: {back: "", label: "Price Unit", type: "SelectDropdown", elem_id: "priceunit"},
							rootValue: {back: "", label: "Root Value", type: "Text"},
							priceUnit: {back: "", label: "Price Unit", type: "SelectDropdown", elem_id: "priceunit"},
							priceUnit: {back: "", label: "Price Unit", type: "SelectDropdown", elem_id: "priceunit"},
							cashInLieu: {back: "", label: "Cash In Lieu", type: "DigitNumber"},
							tickValue: {back: "", label: "Tick Value", type: "DigitNumber"}						
						}
					}
				]
			}]
		},
        asset_info: {
        	title: "Asset Information",
        	components: [{
				type: "form", 
				contents: [
					{
						schema: {
							commonName: {back: "", label: "Common Name", type: "Text"},
							shortName: {back: "", label: "Short Name", type: "Text"},
							tagValue: {back: "", label: "Tag Value", type: "SelectDropdown", elem_id: "tagvalue"},
							priceUnit: {back: "", label: "Price Unit", type: "SelectDropdown", elem_id: "priceunit"}								
						}
					}
				]
			}]
		},
		continuation_series_info: {
        	title: "Continuation Series Information",
        	components: [{
				type: "form", 
				contents: [
					{
						schema: {
							futureAssetType: {back: "", label: "Future Asset Type", type: "SelectDropdown", elem_id: "futureassettype"},
							numberOfC: {back: "", label: "Number Of C Series To Build", type: "SelectDropdown", elem_id: "numberofc"},
							numberOfCn: {back: "", label: "Number Of Cn Series To Build", type: "SelectDropdown", elem_id: "numberofcn"},
							noOfDays: {back: "", label: "No Of Days Before Expiry To Rollover", type: "SelectDropdown", elem_id: "noofdays"},
							switchMonths: {back: "", label: "Switch Months", type: "Text"},
							cv: {back: "", label: "Cv Series Basis Gap Adjustment", type: "SelectDropdown", elem_id: "cv"},
							coi: {back: "", label: "Coi Series Basis Gap Adjustment", type: "SelectDropdown", elem_id: "coi"},
							cvoi: {back: "", label: "Cvoi Series Basis Gap Adjustment", type: "SelectDropdown", elem_id: "cvoi"},
							historyStartDate: {back: "", label: "History Start Date", type :"jqueryui.Date", validators: [{type:"dateFormat", format: "dd-MM-yyyy"}]}							
						}
					}
				]
			}]
        },
        additional_reference_info: {
        	title: "Additional Reference Information",
        	components: [{
				type: "form", 
				contents: [
					{
						schema: {
							methodOfDelivery: {back: "", label: "Method Of Delivery", type: "SelectDropdown", elem_id: "methodofdelivery"},
							cashInLieu: {back: "", label: "Cash In Lieu", type: "DigitNumber"},
							initialMargin: {back: "", label: "Initial Margin", type: "DigitNumber"},
							tickValue: {back: "", label: "Tick Value", type: "DigitNumber"},
							dailyTradingLimit: {back: "", label: "Daily Trading Limit", type: "DigitNumber"},
							tradingStyle: {back: "", label: "Trading Style", type: "SelectDropdown", elem_id: "tradingstyle"},
							contractType: {back: "", label: "Contract Type", type: "SelectDropdown", elem_id: "contracttype"},
							periodicity: {back: "", label: "Periodicity", type: "SelectDropdown", elem_id: "periodicity"},
							adjustedFlag: {back: "", label: "Adjusted Flag", type: "SelectDropdown", elem_id: "adjustedflag"}
						}
					}
				]
			}]
        },
        search_data: {
        	title: "Search Data",
        	components: [{
				type: "form", 
				contents: [
					{
						schema: {
							displayType: {back: "", label: "Display Type", type: "SelectDropdown", elem_id: "displayType"},
							primaryChain: {back: "", label: "Primary Chain", type: "SelectDropdown", elem_id: "primaryChain"}
						}
					}
				]
			}]
        },
        underlying_asset: {
        	title: "Underlying Asset",
        	components: [{
				type: "form", 
				contents: [
					{
						schema: {
							underlyingAsset_ric: {back: "", label: "RIC", type: "SelectDropdown", elem_id: "uaric"},
							underlyingAsset_notional: {back: "", label: "Notional Product", type: "SelectDropdown", elem_id: "uanotional"}
						}
					}
				]
        	}]	
        }, 
        secondary_underlying_asset: {
        	title: "Secondary Underlying Asset",
        	components: [{
				type: "form", 
				contents: [
					{
						schema: {
							secondaryUnderlyingAsset_ric: {back: "", label: "RIC", type: "SelectDropdown", elem_id: "suaric"}
						}
					}
				]
        	}]	
        }, 
        
        rcs: {
        	title: "RCS Underlying Product",
        	components: [
        	    {
        	    	type: "table",
        	    	id: "rcs",
        	    	caption: "RCS Underlying Product",        	    	 
        	    	actions: [4],
        	    	cols : [
        	        	{name: "Value", field: "value", type: "String", editable: true, editType: "SelectDropdown" },
        	        	{name: "Meaning", field: "meaning", type: "String", editable: true, editType: "SelectDropdown"}
        	        ]
        	    }
        	]        	                                   
        },
        relatednews: {
        	title: "Related News",
        	components: [
        	    {
        	    	type: "table",
        	    	id: "relatednews",
        	    	caption: "Related News",
        	    	cols : [
        	        	{name: "Value", field: "value", type: "String", editable: true, editType: "SelectDropdown" },
        	        	{name: "Meaning", field: "meaning", type: "String", editable: true, editType: "SelectDropdown"}
        	        ]
        	    }
        	]        	                                   
        },
        relatedpages: {
        	title: "Related Pages",
        	components: [
        	    {
        	    	type: "table",
        	    	id: "relatedpages",
        	    	caption: "Related Pages",
        	    	cols : [
        	        	{name: "Value", field: "value", type: "String", editable: true, editType: "SelectDropdown" }
        	        ]
        	    }
        	]        	                                   
        },
        locations: {
        	title: "Locations",
        	components: [
        	    {
        	    	type: "table",
        	    	id: "locations",
        	    	caption: "Locations",        	    	 
        	    	actions: [1,3,4],
        	    	cols : [
        	        	{name: "Location Type", field: "location_type", type: "String", editable: true, editType: "SelectDropdown" },
        	        	{name: "Location Name", field: "location_name", type: "String", editable: true, editType: "SelectDropdown"},
        	        	{name: "Location Description", field: "location_desp", type: "String", editable: true, editType: "SelectDropdown"}
        	        ]
        	    }
        	]        	                                   
        },
        crsUnit: {
        	title: "Cross Unit Conversion",
        	components: [
        	    {
        	    	type: "table",
        	    	id: "crsUnit",
        	    	caption: "Cross Unit Conversion",  
        	    	actions: [2,4],
        	    	cols : [
        	        	{name: "Type Name", field: "type_name", type: "String", editable: true, editType: "SelectDropdown" },
        	        	{name: "Type Meaning", field: "type_meaning", type: "String", editable: true, editType: "SelectDropdown"},
        	        	{name: "Factor", field: "factor", type: "String", editable: true, editType: "Text"}
        	        ]
        	    }
        	]
        }			
	}
};